import request from '@/utils/request.js'

// 获取有效轮播图列表
export function getActiveBannerList() {
  return request({
    url: '/business/banner/active',
    method: 'get'
  })
}

// 轮播图点击统计
export function clickBanner(bannerId) {
  return request({
    url: `/business/banner/click/${bannerId}`,
    method: 'post'
  })
}